:root {
    --primary-color: #00CED1;  /* 主蓝绿色 */
    --secondary-color: #20B2AA;  /* 海洋绿 */
    --light-color: #E0FFFF;  /* 浅蓝绿背景 */
    --dark-color: #008B8B;  /* 深蓝绿文字 */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* 轮播图 */
.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
}

/* 热门卡片 */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.badge-tag {
    background-color: var(--primary-color);
    color: white;
}

/* 目的地推荐 */
.destination-card {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.images{
    auto: format;
    fit: crop;
    width: 500px;
    hegiht:500px;
}

.destination-img {
    width: 105%;
    height: 105%;
    object-fit: cover;
    transition: transform 0.5s;
}

.destination-card:hover .destination-img {
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
}

/* 子评论样式 */
.child-comments-container {
    margin-left: 40px;
    border-left: 2px solid #eee;
    padding-left: 15px;
    margin-top: 10px;
}

.child-comment {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

/* 回复表单样式 */
.reply-form {
    margin-top: 10px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.reply-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 10px;
}

.reply-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.reply-form-actions button {
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.submit-reply {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.cancel-reply {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}


/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
}